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

index b5e477e29421fd4a8d3db56f3fa43301c134ad4a..7d793e19ef7a1350ffe323fc82e1b4e32301b844 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,