Move ssl/t1_ext.c to ssl/statem/extensions_cust.c
authorMatt Caswell <matt@openssl.org>
Tue, 4 Apr 2017 10:11:58 +0000 (11:11 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 7 Apr 2017 12:41:04 +0000 (13:41 +0100)
Brings all the extensions code together.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3139)

ssl/build.info
ssl/statem/extensions_cust.c [moved from ssl/t1_ext.c with 99% similarity]

index f13c11f..bb2f1de 100644 (file)
@@ -3,8 +3,8 @@ SOURCE[../libssl]=\
         pqueue.c packet.c \
         statem/statem_srvr.c statem/statem_clnt.c  s3_lib.c  s3_enc.c record/rec_layer_s3.c \
         statem/statem_lib.c statem/extensions.c statem/extensions_srvr.c \
-        statem/extensions_clnt.c s3_cbc.c s3_msg.c \
-        methods.c   t1_lib.c  t1_enc.c tls13_enc.c t1_ext.c \
+        statem/extensions_clnt.c statem/extensions_cust.c s3_cbc.c s3_msg.c \
+        methods.c   t1_lib.c  t1_enc.c tls13_enc.c \
         d1_lib.c  record/rec_layer_d1.c d1_msg.c \
         statem/statem_dtls.c d1_srtp.c \
         ssl_lib.c ssl_cert.c ssl_sess.c \
similarity index 99%
rename from ssl/t1_ext.c
rename to ssl/statem/extensions_cust.c
index e3bcb63..374fe1e 100644 (file)
@@ -10,7 +10,7 @@
 /* Custom extension utility functions */
 
 #include <openssl/ct.h>
-#include "ssl_locl.h"
+#include "../ssl_locl.h"
 
 /* Find a custom extension from the list. */
 static custom_ext_method *custom_ext_find(const custom_ext_methods *exts,