diff options
author | Richard Levitte <levitte@openssl.org> | 2005-01-27 01:47:31 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2005-01-27 01:47:31 +0000 |
commit | a229e3038ea0200c3ff035cb96cf01071eb7b6ad (patch) | |
tree | c5910421ce2c6eb5c1bee9b610312e35200d7b50 /crypto/pem/pem_lib.c | |
parent | 4aca9297dcabc76cbe8ca2bb47dea25183f23830 (diff) | |
download | openssl-a229e3038ea0200c3ff035cb96cf01071eb7b6ad.tar.gz |
Get rid if the annoying warning
Diffstat (limited to 'crypto/pem/pem_lib.c')
-rw-r--r-- | crypto/pem/pem_lib.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/pem/pem_lib.c b/crypto/pem/pem_lib.c index 49db780bed..565c3e54a5 100644 --- a/crypto/pem/pem_lib.c +++ b/crypto/pem/pem_lib.c @@ -434,6 +434,7 @@ int PEM_get_EVP_CIPHER_INFO(char *header, EVP_CIPHER_INFO *cipher) int o; const EVP_CIPHER *enc=NULL; char *p,c; + char **header_pp = &header; cipher->cipher=NULL; if ((header == NULL) || (*header == '\0') || (*header == '\n')) @@ -480,7 +481,8 @@ int PEM_get_EVP_CIPHER_INFO(char *header, EVP_CIPHER_INFO *cipher) PEMerr(PEM_F_PEM_GET_EVP_CIPHER_INFO,PEM_R_UNSUPPORTED_ENCRYPTION); return(0); } - if (!load_iv((unsigned char **)&header,&(cipher->iv[0]),enc->iv_len)) return(0); + if (!load_iv((unsigned char **)header_pp,&(cipher->iv[0]),enc->iv_len)) + return(0); return(1); } |