Skip to content
  1. May 07, 2019
  2. May 03, 2019
  3. May 02, 2019
  4. May 01, 2019
  5. Apr 30, 2019
  6. Apr 29, 2019
  7. Apr 26, 2019
  8. Apr 25, 2019
  9. Apr 24, 2019
  10. Apr 23, 2019
    • Richard Levitte's avatar
      Add a way for the application to get OpenSSL configuration data · 0109e030
      Richard Levitte authored
      
      
      OpenSSL_version(OPENSSL_DIR) gives you a nicely formatted string for
      display, but if all you really want is the directory itself, you were
      forced to parsed the string.
      
      This introduces a new function to get diverse configuration data from
      the library, OPENSSL_info().  This works the same way as
      OpenSSL_version(), but has its own series of types, currently
      including:
      
      OPENSSL_INFO_CONFIG_DIR         returns OPENSSLDIR
      OPENSSL_INFO_ENGINES_DIR        returns ENGINESDIR
      OPENSSL_INFO_MODULES_DIR        returns MODULESDIR
      OPENSSL_INFO_DSO_EXTENSION      returns DSO_EXTENSION
      
      OPENSSL_INFO_DIR_FILENAME_SEPARATOR     returns directory/filename separator
      OPENSSL_INFO_LIST_SEPARATOR             returns list separator
      
      For scripting purposes, this also adds the command 'openssl info'.
      
      Reviewed-by: default avatarPaul Dale <paul.dale@oracle.com>
      (Merged from https://github.com/openssl/openssl/pull/8709)
      0109e030