ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/vendor-crypto/openssl/dist/apps/pkey.c
(Generate patch)

Comparing vendor-crypto/openssl/dist/apps/pkey.c (file contents):
Revision 12144 by laffer1, Fri Jul 17 14:04:28 2015 UTC vs.
Revision 12145 by laffer1, Sat Jan 19 19:57:38 2019 UTC

# Line 79 | Line 79 | int MAIN(int argc, char **argv)
79      EVP_PKEY *pkey = NULL;
80      char *passin = NULL, *passout = NULL;
81      int badarg = 0;
82 #ifndef OPENSSL_NO_ENGINE
82      char *engine = NULL;
84 #endif
83      int ret = 1;
84  
85      if (bio_err == NULL)
# Line 178 | Line 176 | int MAIN(int argc, char **argv)
176   #endif
177          return 1;
178      }
181 #ifndef OPENSSL_NO_ENGINE
179      e = setup_engine(bio_err, engine, 0);
183 #endif
180  
181      if (!app_passwd(bio_err, passargin, passargout, &passin, &passout)) {
182          BIO_printf(bio_err, "Error getting passwords\n");
# Line 240 | Line 236 | int MAIN(int argc, char **argv)
236  
237   end:
238      EVP_PKEY_free(pkey);
239 +    release_engine(e);
240      BIO_free_all(out);
241      BIO_free(in);
242      if (passin)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines