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 ddf3259f0e38bac2656abb0c15f55b5df9021db9..b2ac1e6f03a49e9ad80c4fad35d7f876cfbae8ad 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 7767e74ef9cc785c66e91949fba497024cc2a396..6182495848367b2bb9285f73b7782943d537f2df 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;
-};