the second argument of EVP_SealInit is const
authorNils Larsch <nils@openssl.org>
Tue, 29 Mar 2005 17:48:34 +0000 (17:48 +0000)
committerNils Larsch <nils@openssl.org>
Tue, 29 Mar 2005 17:48:34 +0000 (17:48 +0000)
doc/crypto/EVP_SealInit.pod

index b5e477e29421fd4a8d3db56f3fa43301c134ad4a..48a0e299542d8c538d71fa9b9648bb4e6e4513f5 100644 (file)
@@ -8,8 +8,9 @@ EVP_SealInit, EVP_SealUpdate, EVP_SealFinal - EVP envelope encryption
 
  #include <openssl/evp.h>
 
- int EVP_SealInit(EVP_CIPHER_CTX *ctx, EVP_CIPHER *type, unsigned char **ek,
-               int *ekl, unsigned char *iv,EVP_PKEY **pubk, int npubk);
+ int EVP_SealInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type, 
+               unsigned char **ek, int *ekl, unsigned char *iv,
+               EVP_PKEY **pubk, int npubk);
  int EVP_SealUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out,
          int *outl, unsigned char *in, int inl);
  int EVP_SealFinal(EVP_CIPHER_CTX *ctx, unsigned char *out,