diff options
| author | tb <> | 2018-05-02 15:51:41 +0000 |
|---|---|---|
| committer | tb <> | 2018-05-02 15:51:41 +0000 |
| commit | 28161aab0eda64a4dc7f88649758bfd6f51b8ea2 (patch) | |
| tree | 81ad224bb116b46338273c29efaaae67ff4051ac /src/lib/libcrypto/evp/evp.h | |
| parent | dc053da7652000e4e59c19008d5c94c59a773b37 (diff) | |
| download | openbsd-28161aab0eda64a4dc7f88649758bfd6f51b8ea2.tar.gz openbsd-28161aab0eda64a4dc7f88649758bfd6f51b8ea2.tar.bz2 openbsd-28161aab0eda64a4dc7f88649758bfd6f51b8ea2.zip | |
Add const qualifiers to return value of BIO_f_{base64,cipher,md}().
tested in bulk by sthen
ok jsing
Diffstat (limited to 'src/lib/libcrypto/evp/evp.h')
| -rw-r--r-- | src/lib/libcrypto/evp/evp.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/evp/evp.h b/src/lib/libcrypto/evp/evp.h index e12e771cc5..817d4fb734 100644 --- a/src/lib/libcrypto/evp/evp.h +++ b/src/lib/libcrypto/evp/evp.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: evp.h,v 1.58 2018/02/20 18:05:28 tb Exp $ */ | 1 | /* $OpenBSD: evp.h,v 1.59 2018/05/02 15:51:41 tb Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -651,9 +651,9 @@ int EVP_CIPHER_CTX_ctrl(EVP_CIPHER_CTX *ctx, int type, int arg, void *ptr); | |||
| 651 | int EVP_CIPHER_CTX_rand_key(EVP_CIPHER_CTX *ctx, unsigned char *key); | 651 | int EVP_CIPHER_CTX_rand_key(EVP_CIPHER_CTX *ctx, unsigned char *key); |
| 652 | 652 | ||
| 653 | #ifndef OPENSSL_NO_BIO | 653 | #ifndef OPENSSL_NO_BIO |
| 654 | BIO_METHOD *BIO_f_md(void); | 654 | const BIO_METHOD *BIO_f_md(void); |
| 655 | BIO_METHOD *BIO_f_base64(void); | 655 | const BIO_METHOD *BIO_f_base64(void); |
| 656 | BIO_METHOD *BIO_f_cipher(void); | 656 | const BIO_METHOD *BIO_f_cipher(void); |
| 657 | void BIO_set_cipher(BIO *b, const EVP_CIPHER *c, const unsigned char *k, | 657 | void BIO_set_cipher(BIO *b, const EVP_CIPHER *c, const unsigned char *k, |
| 658 | const unsigned char *i, int enc); | 658 | const unsigned char *i, int enc); |
| 659 | #endif | 659 | #endif |
