diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-07-12 20:40:32 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-07-12 20:40:32 +0100 |
| commit | a09bbf5f06a9ed2f5011999c0a6eef78b9e1ca56 (patch) | |
| tree | 9b09a156a0e07d343c3676f7c38975ebef6f01b5 /src/decrypted_kdm.cc | |
| parent | 6cac3a738e897fcc326ba70564f02c8dfa2ef900 (diff) | |
Rename a couple of Certificate methods and add accessors for organization and organizational unit name.
Diffstat (limited to 'src/decrypted_kdm.cc')
| -rw-r--r-- | src/decrypted_kdm.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decrypted_kdm.cc b/src/decrypted_kdm.cc index 9a9a1694..62058fee 100644 --- a/src/decrypted_kdm.cc +++ b/src/decrypted_kdm.cc @@ -260,7 +260,7 @@ DecryptedKDM::encrypt (shared_ptr<const Signer> signer, Certificate recipient, F keys.push_back (lines.str ()); } - string device_list_description = recipient.common_name (); + string device_list_description = recipient.subject_common_name (); if (device_list_description.find (".") != string::npos) { device_list_description = device_list_description.substr (device_list_description.find (".") + 1); } |
