197403Sobrien/* evp_acnf.c */
297403Sobrien/*
3169691Skan * Written by Stephen Henson (steve@openssl.org) for the OpenSSL project
497403Sobrien * 2001.
597403Sobrien */
697403Sobrien/* ====================================================================
797403Sobrien * Copyright (c) 2001 The OpenSSL Project.  All rights reserved.
897403Sobrien *
997403Sobrien * Redistribution and use in source and binary forms, with or without
1097403Sobrien * modification, are permitted provided that the following conditions
1197403Sobrien * are met:
1297403Sobrien *
1397403Sobrien * 1. Redistributions of source code must retain the above copyright
1497403Sobrien *    notice, this list of conditions and the following disclaimer.
1597403Sobrien *
1697403Sobrien * 2. Redistributions in binary form must reproduce the above copyright
1797403Sobrien *    notice, this list of conditions and the following disclaimer in
1897403Sobrien *    the documentation and/or other materials provided with the
19169691Skan *    distribution.
2097403Sobrien *
2197403Sobrien * 3. All advertising materials mentioning features or use of this
2297403Sobrien *    software must display the following acknowledgment:
2397403Sobrien *    "This product includes software developed by the OpenSSL Project
2497403Sobrien *    for use in the OpenSSL Toolkit. (http://www.OpenSSL.org/)"
2597403Sobrien *
2697403Sobrien * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
2797403Sobrien *    endorse or promote products derived from this software without
2897403Sobrien *    prior written permission. For written permission, please contact
2997403Sobrien *    licensing@OpenSSL.org.
3097403Sobrien *
3197403Sobrien * 5. Products derived from this software may not be called "OpenSSL"
3297403Sobrien *    nor may "OpenSSL" appear in their names without prior written
3397403Sobrien *    permission of the OpenSSL Project.
3497403Sobrien *
3597403Sobrien * 6. Redistributions of any form whatsoever must retain the following
36169691Skan *    acknowledgment:
37169691Skan *    "This product includes software developed by the OpenSSL Project
38169691Skan *    for use in the OpenSSL Toolkit (http://www.OpenSSL.org/)"
39169691Skan *
40132720Skan * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
41132720Skan * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
4297403Sobrien * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
4397403Sobrien * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE OpenSSL PROJECT OR
4497403Sobrien * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
4597403Sobrien * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
4697403Sobrien * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
47132720Skan * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
4897403Sobrien * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
4997403Sobrien * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
50169691Skan * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
51169691Skan * OF THE POSSIBILITY OF SUCH DAMAGE.
5297403Sobrien * ====================================================================
5397403Sobrien *
5497403Sobrien * This product includes cryptographic software written by Eric Young
5597403Sobrien * (eay@cryptsoft.com).  This product includes software written by Tim
56132720Skan * Hudson (tjh@cryptsoft.com).
57132720Skan *
5897403Sobrien */
5997403Sobrien
60132720Skan#include "cryptlib.h"
61132720Skan#include <openssl/evp.h>
6297403Sobrien#include <openssl/conf.h>
6397403Sobrien
64132720Skan/*
65132720Skan * Load all algorithms and configure OpenSSL. This function is called
6697403Sobrien * automatically when OPENSSL_LOAD_CONF is set.
6797403Sobrien */
68132720Skan
69132720Skanvoid OPENSSL_add_all_algorithms_conf(void)
7097403Sobrien{
7197403Sobrien    OPENSSL_add_all_algorithms_noconf();
72132720Skan    OPENSSL_config(NULL);
73132720Skan}
7497403Sobrien