1. 09 Jan, 2001 3 commits
    • Geoff Thorpe's avatar
      Move all the existing function pointer casts associated with LHASH's two · 3c914840
      Geoff Thorpe authored
      "doall" functions to using type-safe wrappers. As and where required, this
      can be replaced by redeclaring the underlying callbacks to use the
      underlying "void"-based prototypes (eg. if performance suffers from an
      extra level of function invocation).
      3c914840
    • Geoff Thorpe's avatar
      Get rid of the function pointer casting in the debugging memory code due · 98d517c5
      Geoff Thorpe authored
      to LHASH usage. NB: The callback type used as been suctioned off into
      crypto.h as CRYPTO_MEM_LEAK_CB to improve clarity.
      98d517c5
    • Geoff Thorpe's avatar
      This adds macros to implement (and/or declare) type-safe wrapper functions · 18602745
      Geoff Thorpe authored
      around the callbacks required in the LHASH code for the "doall" functions.
      
      Also - fix the evil function pointer casting in the two lh_doall functions
      by deferring to a static utility function. Previously lh_doall() was
      invoking lh_doall_arg() by casting the callback to the 2-parameter
      prototype and passing in a NULL argument. This appears to have been working
      thus far but it's not a hot idea. If the extra level of indirection becomes
      a performance hit, we can just provide two virtually identical
      implementations for each variant later on.
      18602745
  2. 08 Jan, 2001 6 commits
  3. 07 Jan, 2001 1 commit
  4. 05 Jan, 2001 1 commit
  5. 04 Jan, 2001 2 commits
    • Dr. Stephen Henson's avatar
      Fix typo in OCSP nonce extension. · a8312c0e
      Dr. Stephen Henson authored
      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
    • Dr. Stephen Henson's avatar
      Update OCSP API. · bf0d176e
      Dr. Stephen Henson authored
      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
  6. 31 Dec, 2000 13 commits
  7. 30 Dec, 2000 2 commits
  8. 29 Dec, 2000 5 commits
  9. 28 Dec, 2000 5 commits
  10. 27 Dec, 2000 2 commits