Commit f3852635 authored by Richard Levitte's avatar Richard Levitte
Browse files

Implement support for no-ts



Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
parent 03f03129
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -75,6 +75,8 @@ foreach (@ARGV) {
		print "#ifndef OPENSSL_NO_OCSP\n${str}#endif\n";
	} elsif (/^srp$/) {
		print "#ifndef OPENSSL_NO_SRP\n${str}#endif\n";
	} elsif (/^ts$/) {
		print "#ifndef OPENSSL_NO_TS\n${str}#endif\n";
	} else {
		print $str;
	}
+24 −20
Original line number Diff line number Diff line
@@ -56,6 +56,9 @@
 *
 */

#include <openssl/opensslconf.h>
#ifndef OPENSSL_NO_TS

# include <stdio.h>
# include <stdlib.h>
# include <string.h>
@@ -1026,3 +1029,4 @@ static int verify_cb(int ok, X509_STORE_CTX *ctx)
{
    return ok;
}
#endif
+2 −0
Original line number Diff line number Diff line
@@ -142,7 +142,9 @@ void err_load_crypto_strings_intern(void)
    ERR_load_PKCS12_strings();
    ERR_load_RAND_strings();
    ERR_load_DSO_strings();
# ifndef OPENSSL_NO_TS
    ERR_load_TS_strings();
# endif
# ifndef OPENSSL_NO_ENGINE
    ERR_load_ENGINE_strings();
# endif
+2 −0
Original line number Diff line number Diff line
@@ -60,6 +60,7 @@
# define HEADER_TS_H

# include <openssl/opensslconf.h>
# ifndef OPENSSL_NO_TS
# include <openssl/symhacks.h>
# include <openssl/buffer.h>
# include <openssl/evp.h>
@@ -700,3 +701,4 @@ void ERR_load_TS_strings(void);
}
#endif
#endif
#endif
+2 −0
Original line number Diff line number Diff line
@@ -117,6 +117,8 @@ my @known_algorithms = ( "RC2", "RC4", "RC5", "IDEA", "DES", "BF",
		 	 "UNIT_TEST",
			 # User Interface
			 "UI",
			 #
			 "TS",
			 # OCB mode
			 "OCB",
                         # APPLINK (win build feature?)