Merge with ENGINE-581 sequoia_windows
authorThomas
Thu, 27 Jun 2019 09:29:20 +0200
branchsequoia_windows
changeset 387837426cf0d1fe
parent 3876 739c8e54b738
parent 3877 cad51de6ba9a
child 3888 99d255a8dc60
Merge with ENGINE-581
     1.1 --- a/src/message_api.c	Tue Jun 25 20:26:39 2019 +0200
     1.2 +++ b/src/message_api.c	Thu Jun 27 09:29:20 2019 +0200
     1.3 @@ -4199,6 +4199,9 @@
     1.4          PEP_rating* rating
     1.5      )
     1.6  {
     1.7 +    if (!rating || !fpr)
     1.8 +        return PEP_ILLEGAL_VALUE;
     1.9 +        
    1.10      PEP_comm_type comm_type = PEP_ct_unknown;
    1.11      *rating = PEP_rating_undefined;
    1.12      PEP_STATUS status = get_key_rating(session, fpr, &comm_type);