diff options
| author | miod <> | 2014-05-26 20:15:29 +0000 |
|---|---|---|
| committer | miod <> | 2014-05-26 20:15:29 +0000 |
| commit | ad8cdda5e9fdd391ec0e47bb096b12713dc470fc (patch) | |
| tree | b602404adb9f4f1bdddfe56acf622e944d2b345a /src/lib/libc | |
| parent | 6faf798d1d3380d029805b0d46c838a5d4d15405 (diff) | |
| download | openbsd-ad8cdda5e9fdd391ec0e47bb096b12713dc470fc.tar.gz openbsd-ad8cdda5e9fdd391ec0e47bb096b12713dc470fc.tar.bz2 openbsd-ad8cdda5e9fdd391ec0e47bb096b12713dc470fc.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 '')
| -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, |
