diff options
author | beck <> | 2002-05-15 02:29:21 +0000 |
---|---|---|
committer | beck <> | 2002-05-15 02:29:21 +0000 |
commit | b64270d1e45fe7f3241e4c9b6ce60d5ac89bc2e9 (patch) | |
tree | fa27cf82a1250b64ed3bf5f4a18c7354d470bbcc /src/lib/libcrypto/evp/e_null.c | |
parent | e471e1ea98d673597b182ea85f29e30c97cd08b5 (diff) | |
download | openbsd-b64270d1e45fe7f3241e4c9b6ce60d5ac89bc2e9.tar.gz openbsd-b64270d1e45fe7f3241e4c9b6ce60d5ac89bc2e9.tar.bz2 openbsd-b64270d1e45fe7f3241e4c9b6ce60d5ac89bc2e9.zip |
OpenSSL 0.9.7 stable 2002 05 08 merge
Diffstat (limited to 'src/lib/libcrypto/evp/e_null.c')
-rw-r--r-- | src/lib/libcrypto/evp/e_null.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/evp/e_null.c b/src/lib/libcrypto/evp/e_null.c index e0702cf818..2420d7e5af 100644 --- a/src/lib/libcrypto/evp/e_null.c +++ b/src/lib/libcrypto/evp/e_null.c | |||
@@ -65,7 +65,7 @@ static int null_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, | |||
65 | const unsigned char *iv,int enc); | 65 | const unsigned char *iv,int enc); |
66 | static int null_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, | 66 | static int null_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, |
67 | const unsigned char *in, unsigned int inl); | 67 | const unsigned char *in, unsigned int inl); |
68 | static EVP_CIPHER n_cipher= | 68 | static const EVP_CIPHER n_cipher= |
69 | { | 69 | { |
70 | NID_undef, | 70 | NID_undef, |
71 | 1,0,0, | 71 | 1,0,0, |
@@ -79,7 +79,7 @@ static EVP_CIPHER n_cipher= | |||
79 | NULL | 79 | NULL |
80 | }; | 80 | }; |
81 | 81 | ||
82 | EVP_CIPHER *EVP_enc_null(void) | 82 | const EVP_CIPHER *EVP_enc_null(void) |
83 | { | 83 | { |
84 | return(&n_cipher); | 84 | return(&n_cipher); |
85 | } | 85 | } |
@@ -87,7 +87,7 @@ EVP_CIPHER *EVP_enc_null(void) | |||
87 | static int null_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, | 87 | static int null_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, |
88 | const unsigned char *iv, int enc) | 88 | const unsigned char *iv, int enc) |
89 | { | 89 | { |
90 | memset(&(ctx->c),0,sizeof(ctx->c)); | 90 | /* memset(&(ctx->c),0,sizeof(ctx->c));*/ |
91 | return 1; | 91 | return 1; |
92 | } | 92 | } |
93 | 93 | ||