diff options
author | miod <> | 2014-05-26 20:15:29 +0000 |
---|---|---|
committer | miod <> | 2014-05-26 20:15:29 +0000 |
commit | 1177905d01a7463e765feac142139825d6d44c73 (patch) | |
tree | b602404adb9f4f1bdddfe56acf622e944d2b345a /src/lib/libcrypto | |
parent | 0442c253bd5389cf7be9c6db5502bc0112b1c5b9 (diff) | |
download | openbsd-1177905d01a7463e765feac142139825d6d44c73.tar.gz openbsd-1177905d01a7463e765feac142139825d6d44c73.tar.bz2 openbsd-1177905d01a7463e765feac142139825d6d44c73.zip |
We don't really to keep history in constructs such as:
#if 1 /* new with openssl 0.9.4 */
current code;
#else
obsolete code;
#endif
Diffstat (limited to 'src/lib/libcrypto')
-rw-r--r-- | src/lib/libcrypto/pem/pem.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/lib/libcrypto/pem/pem.h b/src/lib/libcrypto/pem/pem.h index 38469f02df..6eae9345a1 100644 --- a/src/lib/libcrypto/pem/pem.h +++ b/src/lib/libcrypto/pem/pem.h | |||
@@ -392,13 +392,7 @@ int PEM_write_bio_##name(BIO *bp, type *x, const EVP_CIPHER *enc, \ | |||
392 | DECLARE_PEM_read(name, type) \ | 392 | DECLARE_PEM_read(name, type) \ |
393 | DECLARE_PEM_write_cb(name, type) | 393 | DECLARE_PEM_write_cb(name, type) |
394 | 394 | ||
395 | #if 1 | ||
396 | /* "userdata": new with OpenSSL 0.9.4 */ | ||
397 | typedef int pem_password_cb(char *buf, int size, int rwflag, void *userdata); | 395 | typedef int pem_password_cb(char *buf, int size, int rwflag, void *userdata); |
398 | #else | ||
399 | /* OpenSSL 0.9.3, 0.9.3a */ | ||
400 | typedef int pem_password_cb(char *buf, int size, int rwflag); | ||
401 | #endif | ||
402 | 396 | ||
403 | int PEM_get_EVP_CIPHER_INFO(char *header, EVP_CIPHER_INFO *cipher); | 397 | int PEM_get_EVP_CIPHER_INFO(char *header, EVP_CIPHER_INFO *cipher); |
404 | int PEM_do_header (EVP_CIPHER_INFO *cipher, unsigned char *data, long *len, | 398 | int PEM_do_header (EVP_CIPHER_INFO *cipher, unsigned char *data, long *len, |