make update (libeay.num has been edited to match 0.9.7-stable)
[openssl.git] / crypto / ecdsa / ecdsa.h
index ca1ca64aac7088d3222717c47155b2a2804b5445..5250e15fee087da6a3630d3215763a20efe9a551 100644 (file)
@@ -126,18 +126,18 @@ void        ECDSA_SIG_free(ECDSA_SIG *a);
 int      i2d_ECDSA_SIG(const ECDSA_SIG *a, unsigned char **pp);
 ECDSA_SIG *d2i_ECDSA_SIG(ECDSA_SIG **v, const unsigned char **pp, long length);
 
-ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, const int dgst_len, ECDSA *ecdsa);
-int      ECDSA_do_verify(const unsigned char *dgst, const int dgst_len, ECDSA_SIG *sig, ECDSA* ecdsa);
+ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, int dgst_len, ECDSA *ecdsa);
+int      ECDSA_do_verify(const unsigned char *dgst, int dgst_len, ECDSA_SIG *sig, ECDSA* ecdsa);
 int      ECDSA_generate_key(ECDSA *ecdsa);
 int      ECDSA_check_key(ECDSA *ecdsa);
 
 const ECDSA_METHOD *ECDSA_OpenSSL(void);
 
 void     ECDSA_set_default_method(const ECDSA_METHOD *);
-const ECDSA_METHOD *ECDSA_get_default_openssl_method(void);
+const ECDSA_METHOD *ECDSA_get_default_method(void);
 int      ECDSA_set_method(ECDSA *, const ECDSA_METHOD *);
 
-ECDSA    *ECDSA_new();
+ECDSA    *ECDSA_new(void);
 ECDSA    *ECDSA_new_method(ENGINE *engine);
 int      ECDSA_size(const ECDSA *);
 int      ECDSA_sign_setup(ECDSA *ecdsa, BN_CTX *ctx, BIGNUM **kinv, BIGNUM **rp);
@@ -190,6 +190,7 @@ int     i2d_ECDSAPublicKey(ECDSA *a, unsigned char **out);
 /* The following lines are auto generated by the script mkerr.pl. Any changes
  * made after this point may be overwritten when the script is next run.
  */
+void ERR_load_ECDSA_strings(void);
 
 /* Error codes for the ECDSA functions. */