1. 15 3月, 2001 1 次提交
    • D
      · 0a3ea5d3
      Dr. Stephen Henson 提交于
      Document the -certopt option to the x509 utility.
      
      Add no_issuer option.
      
      Fix X509_print_ex() so it prints out newlines when
      certain fields are omitted.
      0a3ea5d3
  2. 09 3月, 2001 1 次提交
  3. 08 3月, 2001 2 次提交
  4. 05 3月, 2001 1 次提交
  5. 02 3月, 2001 1 次提交
    • R
      Introduce the possibility to access global variables through · 62dc5aad
      Richard Levitte 提交于
      functions on platform were that's the best way to handle exporting
      global variables in shared libraries.  To enable this functionality,
      one must configure with "EXPORT_VAR_AS_FN" or defined the C macro
      "OPENSSL_EXPORT_VAR_AS_FUNCTION" in crypto/opensslconf.h (the latter
      is normally done by Configure or something similar).
      
      To implement a global variable, use the macro OPENSSL_IMPLEMENT_GLOBAL
      in the source file (foo.c) like this:
      
      	OPENSSL_IMPLEMENT_GLOBAL(int,foo)=1;
      	OPENSSL_IMPLEMENT_GLOBAL(double,bar);
      
      To declare a global variable, use the macros OPENSSL_DECLARE_GLOBAL
      and OPENSSL_GLOBAL_REF in the header file (foo.h) like this:
      
      	OPENSSL_DECLARE_GLOBAL(int,foo);
      	#define foo OPENSSL_GLOBAL_REF(foo)
      	OPENSSL_DECLARE_GLOBAL(double,bar);
      	#define bar OPENSSL_GLOBAL_REF(bar)
      
      The #defines are very important, and therefore so is including the
      header file everywere where the defined globals are used.
      
      The macro OPENSSL_EXPORT_VAR_AS_FUNCTION also affects the definition
      of ASN.1 items, but that structure is a bt different.
      
      The largest change is in util/mkdef.pl which has been enhanced with
      better and easier to understand logic to choose which symbols should
      go into the Windows .def files as well as a number of fixes and code
      cleanup (among others, algorithm keywords are now sorted
      lexicographically to avoid constant rewrites).
      62dc5aad
  6. 26 2月, 2001 1 次提交
    • R
      make update · d88a26c4
      Richard Levitte 提交于
      Note that all *_it variables are suddenly non-existant according to
      libeay.num.  This is a bug that will be corrected.  Please be patient.
      d88a26c4
  7. 25 2月, 2001 1 次提交
  8. 24 2月, 2001 1 次提交
    • D
      · 4ff18c8c
      Dr. Stephen Henson 提交于
      Print out OID of unknown signature or public key
      algorithms.
      4ff18c8c
  9. 23 2月, 2001 2 次提交
  10. 22 2月, 2001 4 次提交
  11. 20 2月, 2001 6 次提交
  12. 16 2月, 2001 1 次提交
  13. 10 2月, 2001 2 次提交
    • D
      · ccb08f98
      Dr. Stephen Henson 提交于
      Fix CRL printing to correctly show when there are no revoked certificates.
      
      Make ca.c correctly initialize the revocation date.
      
      Make ASN1_UTCTIME_set_string() and ASN1_GENERALIZEDTIME_set_string() set the
      string type: so they can initialize ASN1_TIME structures properly.
      ccb08f98
    • D
      Various Win32 related fixed. Make no-krb5 work in mkdef.pl . · c063f2c5
      Dr. Stephen Henson 提交于
      Fix warning in apps/engine.c
      
      Remove definitions of deleted functions.
      
      Add missing definition of X509_VAL.
      c063f2c5
  14. 05 2月, 2001 3 次提交
  15. 04 2月, 2001 2 次提交
    • D
      · 2b916952
      Dr. Stephen Henson 提交于
      Fix ASN1_TIME_to_generlizedtime().
      
      Add protoype for OCSP_response_create().
      
      Add OCSP_request_sign() and OCSP_basic_sign()
      private key and certificate checks and make
      OCSP_NOCERTS consistent with PKCS7_NOCERTS
      2b916952
    • D
      · 02e4fbed
      Dr. Stephen Henson 提交于
      Various OCSP responder utility functions.
      
      Delete obsolete OCSP functions.
      
      Largely untested at present...
      02e4fbed
  16. 02 2月, 2001 1 次提交
  17. 25 1月, 2001 1 次提交
  18. 19 1月, 2001 1 次提交
  19. 12 1月, 2001 1 次提交
    • D
      Fix typo in OCSP ASN1 module, this caused · adf87b2d
      Dr. Stephen Henson 提交于
      invalid format in OCSP request signatures.
      
      Add spaces to OCSP HTTP header.
      
      Change X509_NAME_set() there's no reason
      why it should return an error if the
      destination points to NULL... though it
      should if the destination is NULL.
      adf87b2d
  20. 05 1月, 2001 1 次提交
    • D
      Fix typo in OCSP nonce extension. · a8312c0e
      Dr. Stephen Henson 提交于
      Set correct type in ASN1_STRING for
      INTEGER and ENUMERATED types.
      
      Make ASN1_INTEGER_get() and ASN1_ENUMERATED_get()
      return -1 for invalid type rather than 0 (which is
      often valid). -1 may also be valid but this is less
      likely.
      
      Load OCSP error strings in ERR_load_crypto_strings().
      a8312c0e
  21. 04 1月, 2001 1 次提交
    • D
      Update OCSP API. · bf0d176e
      Dr. Stephen Henson 提交于
      Remove extensions argument from various functions
      because it is not needed with the new extension
      code.
      
      New function OCSP_cert_to_id() to convert a pair
      of certificates into an OCSP_CERTID.
      
      New simple OCSP HTTP function. This is rather primitive
      but just about adequate to send OCSP requests and
      parse the response.
      
      Fix typo in CRL distribution points extension.
      
      Fix ASN1 code so it adds a final null to constructed
      strings.
      bf0d176e
  22. 31 12月, 2000 3 次提交
    • R
      Since asn1.h gets included recursively from many places, the easiest · e102a3dc
      Richard Levitte 提交于
      is to have asn1.h include e_os.h and e_os2.h.  Of course, this makes
      the unofficial "non-export" status of e_os.h a bit delicate...
      e102a3dc
    • D
      · ecbe0781
      Dr. Stephen Henson 提交于
      Rewrite PKCS#12 code and remove some of the old
      horrible macros.
      
      Fix two evil ASN1 bugs. Attempt to use 'ctx' when
      NULL if input is indefinite length constructed
      in asn1_check_tlen() and invalid pointer to ASN1_TYPE
      when reusing existing structure (this took *ages* to
      find because the new PKCS#12 code triggered it).
      ecbe0781
    • R
      If OPENSSL_BUILD_SHLIBCRYPTO (for files that end up as libcrypto · 26da3e65
      Richard Levitte 提交于
      objects) or OPENSSL_BUILD_SHLIBSSL (for files that end up as libssl
      objects) is defined, redefine OPENSSL_EXTERN to be OPENSSL_EXPORT.
      This is actually only important on Win32, and can safely be ignored in
      all other cases, at least for now.
      26da3e65
  23. 30 12月, 2000 1 次提交
  24. 29 12月, 2000 1 次提交