[BACK]Return to cms.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / openssl

Diff for /src/usr.bin/openssl/cms.c between version 1.17 and 1.18

version 1.17, 2020/01/04 14:17:55 version 1.18, 2021/12/26 15:23:37
Line 444 
Line 444 
                                 if ((nparam = malloc(sizeof(struct cms_key_param))) == NULL)                                  if ((nparam = malloc(sizeof(struct cms_key_param))) == NULL)
                                         goto end;                                          goto end;
                                 nparam->idx = keyidx;                                  nparam->idx = keyidx;
                                 if ((nparam->param = sk_OPENSSL_STRING_new_null()) == NULL)                                  if ((nparam->param = sk_OPENSSL_STRING_new_null()) == NULL) {
                                           free(nparam);
                                         goto end;                                          goto end;
                                   }
                                 nparam->next = NULL;                                  nparam->next = NULL;
                                 if (key_first == NULL)                                  if (key_first == NULL)
                                         key_first = nparam;                                          key_first = nparam;

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18