]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Merge crq.h into x509_int.h, avoid one trivial header file.
authorSimon Josefsson <simon@josefsson.org>
Mon, 25 Feb 2008 15:42:31 +0000 (16:42 +0100)
committerSimon Josefsson <simon@josefsson.org>
Mon, 25 Feb 2008 15:42:31 +0000 (16:42 +0100)
doc/reference/Makefile.am
lib/x509/Makefile.am
lib/x509/crl_write.c
lib/x509/crq.c
lib/x509/crq.h [deleted file]
lib/x509/x509_int.h
lib/x509/x509_write.c

index 17475e629a23b56c148ce4fe05bcd6ca51ee2c6f..b27940dd4ada65874bb26d32e96fa49c66a1f5e7 100644 (file)
@@ -68,7 +68,7 @@ IGNORE_HFILES=debug.h gnutls_compress.h defines.h gnutls_cipher.h     \
        der.h errors.h gstr.h parser_aux.h element.h                    \
        errors_int.h int.h mem.h structure.h                            \
                                                                        \
-       common.h crq.h dsa.h mpi.h pkcs7.h rfc2818.h verify.h compat.h  \
+       common.h dsa.h mpi.h pkcs7.h rfc2818.h verify.h compat.h        \
        dn.h extensions.h privkey.h sign.h                              \
                                                                        \
        gnutls_extra.h openssl_compat.h                                 \
index 56c65de6d45d2fe88aa003d5948aa5d073ddddf8..dfa62ffbd905d265bb2c6052df16c76afce05f1a 100644 (file)
@@ -32,7 +32,7 @@ libgnutls_x509_la_SOURCES = crl.c dn.c common.c x509.c extensions.c   \
        dsa.c rfc2818_hostname.c verify.c mpi.c privkey.c pkcs7.c       \
        crq.c sign.c privkey_pkcs8.c pkcs12.c pkcs12_bag.c              \
        pkcs12_encr.c x509_write.c crl_write.c dn.h common.h            \
-       x509_int.h extensions.h pkcs7.h verify.h mpi.h crq.h sign.h     \
+       x509_int.h extensions.h pkcs7.h verify.h mpi.h sign.h           \
        privkey.h pkcs12.h rfc2818.h dsa.h output.c
 
 EXTRA_DIST = x509-api.texi
index 1faf2ab6a12643340983c9faed85672cbeb040c1..4744f94487e011b1508d85e260d43888818fe2a1 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2003, 2004, 2005 Free Software Foundation
+ * Copyright (C) 2003, 2004, 2005, 2008 Free Software Foundation
  *
  * Author: Nikos Mavrogiannopoulos
  *
@@ -35,7 +35,7 @@
 #include <common.h>
 #include <gnutls_x509.h>
 #include <x509_b64.h>
-#include <crq.h>
+#include <x509_int.h>
 #include <dn.h>
 #include <mpi.h>
 #include <sign.h>
index 85539db41f0d11fcef99c820814e769be4430099..6e249e186303481926499c717856d036e89f6b79 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2003, 2004, 2005 Free Software Foundation
+ * Copyright (C) 2003, 2004, 2005, 2008 Free Software Foundation
  *
  * Author: Nikos Mavrogiannopoulos
  *
@@ -35,7 +35,7 @@
 #include <common.h>
 #include <gnutls_x509.h>
 #include <x509_b64.h>
-#include <crq.h>
+#include <x509_int.h>
 #include <dn.h>
 #include <mpi.h>
 #include <sign.h>
diff --git a/lib/x509/crq.h b/lib/x509/crq.h
deleted file mode 100644 (file)
index ab36e64..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Copyright (C) 2003, 2004, 2005 Free Software Foundation
- *
- * Author: Nikos Mavrogiannopoulos
- *
- * This file is part of GNUTLS.
- *
- * The GNUTLS library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public License
- * as published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
- * USA
- *
- */
-
-#include <gnutls/x509.h>
-
-typedef struct gnutls_x509_crq_int
-{
-  ASN1_TYPE crq;
-} gnutls_x509_crq_int;
index 2f3bc9295551d08b587935efdd5de8c8f0543245..46c883e126d190a9586e927f451a1ff2d070522e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2003, 2004, 2005, 2007 Free Software Foundation
+ * Copyright (C) 2003, 2004, 2005, 2007, 2008 Free Software Foundation
  *
  * Author: Nikos Mavrogiannopoulos
  *
@@ -46,6 +46,11 @@ typedef struct gnutls_x509_crt_int
   int use_extensions;
 } gnutls_x509_crt_int;
 
+typedef struct gnutls_x509_crq_int
+{
+  ASN1_TYPE crq;
+} gnutls_x509_crq_int;
+
 #define MAX_PRIV_PARAMS_SIZE 6 /* ok for RSA and DSA */
 
 /* parameters should not be larger than this limit */
index 87b810349dd78d7d32598058dbe8d2b76658c495..63462dd6bd76a49d3a6791520b93782bf9f34a45 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation
+ * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation
  *
  * Author: Nikos Mavrogiannopoulos
  *
@@ -35,7 +35,7 @@
 #include <common.h>
 #include <gnutls_x509.h>
 #include <x509_b64.h>
-#include <crq.h>
+#include <x509_int.h>
 #include <dn.h>
 #include <mpi.h>
 #include <sign.h>