COM-74: Expose _PEP_enc_format to app for EncryptMessage COM-74
authorMarkus Schaber <markus@pep-security.net>
Wed, 07 Feb 2018 18:53:25 +0100
branchCOM-74
changeset 270c713a265866f
parent 267 ae02fcd56811
child 271 92866cd8b0c4
COM-74: Expose _PEP_enc_format to app for EncryptMessage

Remove obsolete (and now wrong) assertion of fpr != null
CpEpEngine.cpp
     1.1 --- a/CpEpEngine.cpp	Sat Jan 13 14:02:03 2018 +0100
     1.2 +++ b/CpEpEngine.cpp	Wed Feb 07 18:53:25 2018 +0100
     1.3 @@ -548,7 +548,6 @@
     1.4      PEP_STATUS status = ::update_identity(get_session(), _ident);
     1.5  
     1.6      if (status == PEP_STATUS_OK) {
     1.7 -        assert(_ident->fpr); // Guaranteed not NULL, but possibly empty string.
     1.8          copy_identity(result, _ident);
     1.9          ::free_identity(_ident);
    1.10          return S_OK;