summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ui/ui_openssl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/ui/ui_openssl.c')
-rw-r--r--src/lib/libcrypto/ui/ui_openssl.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/lib/libcrypto/ui/ui_openssl.c b/src/lib/libcrypto/ui/ui_openssl.c
index 32298625ca..f7f01bb4f1 100644
--- a/src/lib/libcrypto/ui/ui_openssl.c
+++ b/src/lib/libcrypto/ui/ui_openssl.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ui_openssl.c,v 1.21 2014/06/12 15:49:31 deraadt Exp $ */ 1/* $OpenBSD: ui_openssl.c,v 1.22 2014/07/11 08:44:49 jsing Exp $ */
2/* Written by Richard Levitte (richard@levitte.org) and others 2/* Written by Richard Levitte (richard@levitte.org) and others
3 * for the OpenSSL project 2001. 3 * for the OpenSSL project 2001.
4 */ 4 */
@@ -114,26 +114,23 @@
114 * [including the GNU Public Licence.] 114 * [including the GNU Public Licence.]
115 */ 115 */
116 116
117#include <sys/ioctl.h>
118
117#include <openssl/opensslconf.h> 119#include <openssl/opensslconf.h>
118 120
121#include <errno.h>
119#include <signal.h> 122#include <signal.h>
120#include <stdio.h> 123#include <stdio.h>
121#include <string.h> 124#include <string.h>
122#include <errno.h>
123
124#include <unistd.h>
125#include <termios.h> 125#include <termios.h>
126#include <unistd.h>
126 127
127#include "ui_locl.h" 128#include "ui_locl.h"
128#include "cryptlib.h"
129
130#include <sys/ioctl.h>
131 129
132#ifndef NX509_SIG 130#ifndef NX509_SIG
133#define NX509_SIG 32 131#define NX509_SIG 32
134#endif 132#endif
135 133
136
137/* Define globals. They are protected by a lock */ 134/* Define globals. They are protected by a lock */
138static struct sigaction savsig[NX509_SIG]; 135static struct sigaction savsig[NX509_SIG];
139 136