move DSA_SIG definition into C source file
authorDr. Stephen Henson <steve@openssl.org>
Thu, 10 Mar 2016 14:24:39 +0000 (14:24 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 11 Mar 2016 14:53:50 +0000 (14:53 +0000)
Reviewed-by: Rich Salz <rsalz@openssl.org>
crypto/dsa/dsa_asn1.c
crypto/dsa/dsa_locl.h

index ddf3259..b2ac1e6 100644 (file)
 #include <openssl/asn1.h>
 #include <openssl/asn1t.h>
 #include <openssl/rand.h>
-#include "dsa_locl.h"
+
+struct DSA_SIG_st {
+    BIGNUM *r;
+    BIGNUM *s;
+};
 
 ASN1_SEQUENCE(DSA_SIG) = {
         ASN1_SIMPLE(DSA_SIG, r, CBIGNUM),
index 7767e74..6182495 100644 (file)
@@ -65,8 +65,3 @@ int dsa_builtin_paramgen2(DSA *ret, size_t L, size_t N,
                           size_t seed_len, int idx, unsigned char *seed_out,
                           int *counter_ret, unsigned long *h_ret,
                           BN_GENCB *cb);
-
-struct DSA_SIG_st {
-    BIGNUM *r;
-    BIGNUM *s;
-};