Damien Miller | 8668706 | 2014-07-02 15:28:02 +1000 | [diff] [blame] | 1 | /* $OpenBSD: ssh-rsa.c,v 1.52 2014/06/24 01:13:21 djm Exp $ */ |
Damien Miller | 0bc1bd8 | 2000-11-13 22:57:25 +1100 | [diff] [blame] | 2 | /* |
Darren Tucker | a251f80 | 2003-06-22 20:45:15 +1000 | [diff] [blame] | 3 | * Copyright (c) 2000, 2003 Markus Friedl <markus@openbsd.org> |
Damien Miller | 0bc1bd8 | 2000-11-13 22:57:25 +1100 | [diff] [blame] | 4 | * |
Darren Tucker | a251f80 | 2003-06-22 20:45:15 +1000 | [diff] [blame] | 5 | * Permission to use, copy, modify, and distribute this software for any |
| 6 | * purpose with or without fee is hereby granted, provided that the above |
| 7 | * copyright notice and this permission notice appear in all copies. |
Damien Miller | 0bc1bd8 | 2000-11-13 22:57:25 +1100 | [diff] [blame] | 8 | * |
Darren Tucker | a251f80 | 2003-06-22 20:45:15 +1000 | [diff] [blame] | 9 | * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
| 10 | * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
| 11 | * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR |
| 12 | * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
| 13 | * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
| 14 | * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
| 15 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
Damien Miller | 0bc1bd8 | 2000-11-13 22:57:25 +1100 | [diff] [blame] | 16 | */ |
Damien Miller | d783435 | 2006-08-05 12:39:39 +1000 | [diff] [blame] | 17 | |
Damien Miller | 0bc1bd8 | 2000-11-13 22:57:25 +1100 | [diff] [blame] | 18 | #include "includes.h" |
Damien Miller | 0bc1bd8 | 2000-11-13 22:57:25 +1100 | [diff] [blame] | 19 | |
Damien Miller | 72ef7c1 | 2015-01-15 02:21:31 +1100 | [diff] [blame] | 20 | #ifdef WITH_OPENSSL |
| 21 | |
Damien Miller | d783435 | 2006-08-05 12:39:39 +1000 | [diff] [blame] | 22 | #include <sys/types.h> |
| 23 | |
Damien Miller | 0bc1bd8 | 2000-11-13 22:57:25 +1100 | [diff] [blame] | 24 | #include <openssl/evp.h> |
Damien Miller | 0bc1bd8 | 2000-11-13 22:57:25 +1100 | [diff] [blame] | 25 | #include <openssl/err.h> |
| 26 | |
Damien Miller | ded319c | 2006-09-01 15:38:36 +1000 | [diff] [blame] | 27 | #include <stdarg.h> |
Damien Miller | e3476ed | 2006-07-24 14:13:33 +1000 | [diff] [blame] | 28 | #include <string.h> |
| 29 | |
Damien Miller | 8668706 | 2014-07-02 15:28:02 +1000 | [diff] [blame] | 30 | #include "sshbuf.h" |
Ben Lindstrom | 60a4381 | 2001-03-29 00:32:56 +0000 | [diff] [blame] | 31 | #include "compat.h" |
Damien Miller | 8668706 | 2014-07-02 15:28:02 +1000 | [diff] [blame] | 32 | #include "ssherr.h" |
| 33 | #define SSHKEY_INTERNAL |
| 34 | #include "sshkey.h" |
Damien Miller | b3051d0 | 2014-01-10 10:58:53 +1100 | [diff] [blame] | 35 | #include "digest.h" |
Damien Miller | 0bc1bd8 | 2000-11-13 22:57:25 +1100 | [diff] [blame] | 36 | |
Damien Miller | 8668706 | 2014-07-02 15:28:02 +1000 | [diff] [blame] | 37 | static int openssh_RSA_verify(int, u_char *, size_t, u_char *, size_t, RSA *); |
Ben Lindstrom | 0deb5d9 | 2002-08-20 18:40:03 +0000 | [diff] [blame] | 38 | |
Damien Miller | 0bc1bd8 | 2000-11-13 22:57:25 +1100 | [diff] [blame] | 39 | /* RSASSA-PKCS1-v1_5 (PKCS #1 v2.0 signature) with SHA1 */ |
| 40 | int |
Damien Miller | 8668706 | 2014-07-02 15:28:02 +1000 | [diff] [blame] | 41 | ssh_rsa_sign(const struct sshkey *key, u_char **sigp, size_t *lenp, |
| 42 | const u_char *data, size_t datalen, u_int compat) |
Damien Miller | 0bc1bd8 | 2000-11-13 22:57:25 +1100 | [diff] [blame] | 43 | { |
Damien Miller | b3051d0 | 2014-01-10 10:58:53 +1100 | [diff] [blame] | 44 | int hash_alg; |
Damien Miller | 8668706 | 2014-07-02 15:28:02 +1000 | [diff] [blame] | 45 | u_char digest[SSH_DIGEST_MAX_LENGTH], *sig = NULL; |
| 46 | size_t slen; |
| 47 | u_int dlen, len; |
| 48 | int nid, ret = SSH_ERR_INTERNAL_ERROR; |
| 49 | struct sshbuf *b = NULL; |
Damien Miller | 0bc1bd8 | 2000-11-13 22:57:25 +1100 | [diff] [blame] | 50 | |
Damien Miller | 8668706 | 2014-07-02 15:28:02 +1000 | [diff] [blame] | 51 | if (lenp != NULL) |
| 52 | *lenp = 0; |
| 53 | if (sigp != NULL) |
| 54 | *sigp = NULL; |
| 55 | |
| 56 | if (key == NULL || key->rsa == NULL || |
| 57 | sshkey_type_plain(key->type) != KEY_RSA) |
| 58 | return SSH_ERR_INVALID_ARGUMENT; |
| 59 | slen = RSA_size(key->rsa); |
| 60 | if (slen <= 0 || slen > SSHBUF_MAX_BIGNUM) |
| 61 | return SSH_ERR_INVALID_ARGUMENT; |
Damien Miller | 3e19295 | 2013-12-29 17:47:50 +1100 | [diff] [blame] | 62 | |
Damien Miller | b3051d0 | 2014-01-10 10:58:53 +1100 | [diff] [blame] | 63 | /* hash the data */ |
| 64 | hash_alg = SSH_DIGEST_SHA1; |
Damien Miller | 324541e | 2013-12-31 12:25:40 +1100 | [diff] [blame] | 65 | nid = NID_sha1; |
Damien Miller | 8668706 | 2014-07-02 15:28:02 +1000 | [diff] [blame] | 66 | if ((dlen = ssh_digest_bytes(hash_alg)) == 0) |
| 67 | return SSH_ERR_INTERNAL_ERROR; |
| 68 | if ((ret = ssh_digest_memory(hash_alg, data, datalen, |
| 69 | digest, sizeof(digest))) != 0) |
| 70 | goto out; |
| 71 | |
| 72 | if ((sig = malloc(slen)) == NULL) { |
| 73 | ret = SSH_ERR_ALLOC_FAIL; |
| 74 | goto out; |
Damien Miller | b3051d0 | 2014-01-10 10:58:53 +1100 | [diff] [blame] | 75 | } |
Damien Miller | 0bc1bd8 | 2000-11-13 22:57:25 +1100 | [diff] [blame] | 76 | |
Damien Miller | 8668706 | 2014-07-02 15:28:02 +1000 | [diff] [blame] | 77 | if (RSA_sign(nid, digest, dlen, sig, &len, key->rsa) != 1) { |
| 78 | ret = SSH_ERR_LIBCRYPTO_ERROR; |
| 79 | goto out; |
Damien Miller | 0bc1bd8 | 2000-11-13 22:57:25 +1100 | [diff] [blame] | 80 | } |
| 81 | if (len < slen) { |
Damien Miller | 8668706 | 2014-07-02 15:28:02 +1000 | [diff] [blame] | 82 | size_t diff = slen - len; |
Damien Miller | 0bc1bd8 | 2000-11-13 22:57:25 +1100 | [diff] [blame] | 83 | memmove(sig + diff, sig, len); |
Damien Miller | a5103f4 | 2014-02-04 11:20:14 +1100 | [diff] [blame] | 84 | explicit_bzero(sig, diff); |
Damien Miller | 0bc1bd8 | 2000-11-13 22:57:25 +1100 | [diff] [blame] | 85 | } else if (len > slen) { |
Damien Miller | 8668706 | 2014-07-02 15:28:02 +1000 | [diff] [blame] | 86 | ret = SSH_ERR_INTERNAL_ERROR; |
| 87 | goto out; |
Damien Miller | 0bc1bd8 | 2000-11-13 22:57:25 +1100 | [diff] [blame] | 88 | } |
| 89 | /* encode signature */ |
Damien Miller | 8668706 | 2014-07-02 15:28:02 +1000 | [diff] [blame] | 90 | if ((b = sshbuf_new()) == NULL) { |
| 91 | ret = SSH_ERR_ALLOC_FAIL; |
| 92 | goto out; |
| 93 | } |
| 94 | if ((ret = sshbuf_put_cstring(b, "ssh-rsa")) != 0 || |
| 95 | (ret = sshbuf_put_string(b, sig, slen)) != 0) |
| 96 | goto out; |
| 97 | len = sshbuf_len(b); |
| 98 | if (sigp != NULL) { |
| 99 | if ((*sigp = malloc(len)) == NULL) { |
| 100 | ret = SSH_ERR_ALLOC_FAIL; |
| 101 | goto out; |
| 102 | } |
| 103 | memcpy(*sigp, sshbuf_ptr(b), len); |
| 104 | } |
Ben Lindstrom | 2bf759c | 2002-07-07 22:13:31 +0000 | [diff] [blame] | 105 | if (lenp != NULL) |
| 106 | *lenp = len; |
Damien Miller | 8668706 | 2014-07-02 15:28:02 +1000 | [diff] [blame] | 107 | ret = 0; |
| 108 | out: |
| 109 | explicit_bzero(digest, sizeof(digest)); |
| 110 | if (sig != NULL) { |
| 111 | explicit_bzero(sig, slen); |
| 112 | free(sig); |
Ben Lindstrom | 2bf759c | 2002-07-07 22:13:31 +0000 | [diff] [blame] | 113 | } |
Damien Miller | 8668706 | 2014-07-02 15:28:02 +1000 | [diff] [blame] | 114 | if (b != NULL) |
| 115 | sshbuf_free(b); |
Damien Miller | 0bc1bd8 | 2000-11-13 22:57:25 +1100 | [diff] [blame] | 116 | return 0; |
| 117 | } |
| 118 | |
| 119 | int |
Damien Miller | 8668706 | 2014-07-02 15:28:02 +1000 | [diff] [blame] | 120 | ssh_rsa_verify(const struct sshkey *key, |
| 121 | const u_char *signature, size_t signaturelen, |
| 122 | const u_char *data, size_t datalen, u_int compat) |
Damien Miller | 0bc1bd8 | 2000-11-13 22:57:25 +1100 | [diff] [blame] | 123 | { |
Damien Miller | 8668706 | 2014-07-02 15:28:02 +1000 | [diff] [blame] | 124 | char *ktype = NULL; |
| 125 | int hash_alg, ret = SSH_ERR_INTERNAL_ERROR; |
| 126 | size_t len, diff, modlen, dlen; |
| 127 | struct sshbuf *b = NULL; |
| 128 | u_char digest[SSH_DIGEST_MAX_LENGTH], *osigblob, *sigblob = NULL; |
Damien Miller | 0bc1bd8 | 2000-11-13 22:57:25 +1100 | [diff] [blame] | 129 | |
Damien Miller | 8668706 | 2014-07-02 15:28:02 +1000 | [diff] [blame] | 130 | if (key == NULL || key->rsa == NULL || |
| 131 | sshkey_type_plain(key->type) != KEY_RSA || |
| 132 | BN_num_bits(key->rsa->n) < SSH_RSA_MINIMUM_MODULUS_SIZE) |
| 133 | return SSH_ERR_INVALID_ARGUMENT; |
Damien Miller | 3e19295 | 2013-12-29 17:47:50 +1100 | [diff] [blame] | 134 | |
Damien Miller | 8668706 | 2014-07-02 15:28:02 +1000 | [diff] [blame] | 135 | if ((b = sshbuf_from(signature, signaturelen)) == NULL) |
| 136 | return SSH_ERR_ALLOC_FAIL; |
| 137 | if (sshbuf_get_cstring(b, &ktype, NULL) != 0) { |
| 138 | ret = SSH_ERR_INVALID_FORMAT; |
| 139 | goto out; |
Ben Lindstrom | bf555ba | 2001-01-18 02:04:35 +0000 | [diff] [blame] | 140 | } |
Damien Miller | 0bc1bd8 | 2000-11-13 22:57:25 +1100 | [diff] [blame] | 141 | if (strcmp("ssh-rsa", ktype) != 0) { |
Damien Miller | 8668706 | 2014-07-02 15:28:02 +1000 | [diff] [blame] | 142 | ret = SSH_ERR_KEY_TYPE_MISMATCH; |
| 143 | goto out; |
Damien Miller | 0bc1bd8 | 2000-11-13 22:57:25 +1100 | [diff] [blame] | 144 | } |
Damien Miller | 8668706 | 2014-07-02 15:28:02 +1000 | [diff] [blame] | 145 | if (sshbuf_get_string(b, &sigblob, &len) != 0) { |
| 146 | ret = SSH_ERR_INVALID_FORMAT; |
| 147 | goto out; |
| 148 | } |
| 149 | if (sshbuf_len(b) != 0) { |
| 150 | ret = SSH_ERR_UNEXPECTED_TRAILING_DATA; |
| 151 | goto out; |
Damien Miller | 0bc1bd8 | 2000-11-13 22:57:25 +1100 | [diff] [blame] | 152 | } |
Ben Lindstrom | ceae9d1 | 2002-06-06 20:55:04 +0000 | [diff] [blame] | 153 | /* RSA_verify expects a signature of RSA_size */ |
| 154 | modlen = RSA_size(key->rsa); |
| 155 | if (len > modlen) { |
Damien Miller | 8668706 | 2014-07-02 15:28:02 +1000 | [diff] [blame] | 156 | ret = SSH_ERR_KEY_BITS_MISMATCH; |
| 157 | goto out; |
Ben Lindstrom | ceae9d1 | 2002-06-06 20:55:04 +0000 | [diff] [blame] | 158 | } else if (len < modlen) { |
Damien Miller | 8668706 | 2014-07-02 15:28:02 +1000 | [diff] [blame] | 159 | diff = modlen - len; |
| 160 | osigblob = sigblob; |
| 161 | if ((sigblob = realloc(sigblob, modlen)) == NULL) { |
| 162 | sigblob = osigblob; /* put it back for clear/free */ |
| 163 | ret = SSH_ERR_ALLOC_FAIL; |
| 164 | goto out; |
| 165 | } |
Ben Lindstrom | ceae9d1 | 2002-06-06 20:55:04 +0000 | [diff] [blame] | 166 | memmove(sigblob + diff, sigblob, len); |
Damien Miller | a5103f4 | 2014-02-04 11:20:14 +1100 | [diff] [blame] | 167 | explicit_bzero(sigblob, diff); |
Ben Lindstrom | ceae9d1 | 2002-06-06 20:55:04 +0000 | [diff] [blame] | 168 | len = modlen; |
| 169 | } |
Damien Miller | b3051d0 | 2014-01-10 10:58:53 +1100 | [diff] [blame] | 170 | hash_alg = SSH_DIGEST_SHA1; |
| 171 | if ((dlen = ssh_digest_bytes(hash_alg)) == 0) { |
Damien Miller | 8668706 | 2014-07-02 15:28:02 +1000 | [diff] [blame] | 172 | ret = SSH_ERR_INTERNAL_ERROR; |
| 173 | goto out; |
Ben Lindstrom | 425fb02 | 2001-03-29 00:31:20 +0000 | [diff] [blame] | 174 | } |
Damien Miller | 8668706 | 2014-07-02 15:28:02 +1000 | [diff] [blame] | 175 | if ((ret = ssh_digest_memory(hash_alg, data, datalen, |
| 176 | digest, sizeof(digest))) != 0) |
| 177 | goto out; |
Damien Miller | 0bc1bd8 | 2000-11-13 22:57:25 +1100 | [diff] [blame] | 178 | |
Damien Miller | b3051d0 | 2014-01-10 10:58:53 +1100 | [diff] [blame] | 179 | ret = openssh_RSA_verify(hash_alg, digest, dlen, sigblob, len, |
| 180 | key->rsa); |
Damien Miller | 8668706 | 2014-07-02 15:28:02 +1000 | [diff] [blame] | 181 | out: |
| 182 | if (sigblob != NULL) { |
| 183 | explicit_bzero(sigblob, len); |
| 184 | free(sigblob); |
| 185 | } |
| 186 | if (ktype != NULL) |
| 187 | free(ktype); |
| 188 | if (b != NULL) |
| 189 | sshbuf_free(b); |
Damien Miller | a5103f4 | 2014-02-04 11:20:14 +1100 | [diff] [blame] | 190 | explicit_bzero(digest, sizeof(digest)); |
Damien Miller | 0bc1bd8 | 2000-11-13 22:57:25 +1100 | [diff] [blame] | 191 | return ret; |
| 192 | } |
Ben Lindstrom | 0deb5d9 | 2002-08-20 18:40:03 +0000 | [diff] [blame] | 193 | |
| 194 | /* |
| 195 | * See: |
| 196 | * http://www.rsasecurity.com/rsalabs/pkcs/pkcs-1/ |
| 197 | * ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-1/pkcs-1v2-1.asn |
| 198 | */ |
| 199 | /* |
| 200 | * id-sha1 OBJECT IDENTIFIER ::= { iso(1) identified-organization(3) |
| 201 | * oiw(14) secsig(3) algorithms(2) 26 } |
| 202 | */ |
| 203 | static const u_char id_sha1[] = { |
| 204 | 0x30, 0x21, /* type Sequence, length 0x21 (33) */ |
| 205 | 0x30, 0x09, /* type Sequence, length 0x09 */ |
| 206 | 0x06, 0x05, /* type OID, length 0x05 */ |
| 207 | 0x2b, 0x0e, 0x03, 0x02, 0x1a, /* id-sha1 OID */ |
| 208 | 0x05, 0x00, /* NULL */ |
| 209 | 0x04, 0x14 /* Octet string, length 0x14 (20), followed by sha1 hash */ |
| 210 | }; |
Ben Lindstrom | 0deb5d9 | 2002-08-20 18:40:03 +0000 | [diff] [blame] | 211 | |
| 212 | static int |
Damien Miller | 8668706 | 2014-07-02 15:28:02 +1000 | [diff] [blame] | 213 | openssh_RSA_verify(int hash_alg, u_char *hash, size_t hashlen, |
| 214 | u_char *sigbuf, size_t siglen, RSA *rsa) |
Ben Lindstrom | 0deb5d9 | 2002-08-20 18:40:03 +0000 | [diff] [blame] | 215 | { |
Damien Miller | 8668706 | 2014-07-02 15:28:02 +1000 | [diff] [blame] | 216 | size_t ret, rsasize = 0, oidlen = 0, hlen = 0; |
Damien Miller | 4e8285e | 2010-08-03 16:04:03 +1000 | [diff] [blame] | 217 | int len, oidmatch, hashmatch; |
Ben Lindstrom | 0deb5d9 | 2002-08-20 18:40:03 +0000 | [diff] [blame] | 218 | const u_char *oid = NULL; |
| 219 | u_char *decrypted = NULL; |
| 220 | |
Damien Miller | 8668706 | 2014-07-02 15:28:02 +1000 | [diff] [blame] | 221 | ret = SSH_ERR_INTERNAL_ERROR; |
Damien Miller | b3051d0 | 2014-01-10 10:58:53 +1100 | [diff] [blame] | 222 | switch (hash_alg) { |
| 223 | case SSH_DIGEST_SHA1: |
Ben Lindstrom | 0deb5d9 | 2002-08-20 18:40:03 +0000 | [diff] [blame] | 224 | oid = id_sha1; |
| 225 | oidlen = sizeof(id_sha1); |
| 226 | hlen = 20; |
| 227 | break; |
Ben Lindstrom | 0deb5d9 | 2002-08-20 18:40:03 +0000 | [diff] [blame] | 228 | default: |
| 229 | goto done; |
Ben Lindstrom | 0deb5d9 | 2002-08-20 18:40:03 +0000 | [diff] [blame] | 230 | } |
| 231 | if (hashlen != hlen) { |
Damien Miller | 8668706 | 2014-07-02 15:28:02 +1000 | [diff] [blame] | 232 | ret = SSH_ERR_INVALID_ARGUMENT; |
Ben Lindstrom | 0deb5d9 | 2002-08-20 18:40:03 +0000 | [diff] [blame] | 233 | goto done; |
| 234 | } |
| 235 | rsasize = RSA_size(rsa); |
Damien Miller | 8668706 | 2014-07-02 15:28:02 +1000 | [diff] [blame] | 236 | if (rsasize <= 0 || rsasize > SSHBUF_MAX_BIGNUM || |
| 237 | siglen == 0 || siglen > rsasize) { |
| 238 | ret = SSH_ERR_INVALID_ARGUMENT; |
Ben Lindstrom | 0deb5d9 | 2002-08-20 18:40:03 +0000 | [diff] [blame] | 239 | goto done; |
| 240 | } |
Damien Miller | 8668706 | 2014-07-02 15:28:02 +1000 | [diff] [blame] | 241 | if ((decrypted = malloc(rsasize)) == NULL) { |
| 242 | ret = SSH_ERR_ALLOC_FAIL; |
| 243 | goto done; |
| 244 | } |
Ben Lindstrom | 0deb5d9 | 2002-08-20 18:40:03 +0000 | [diff] [blame] | 245 | if ((len = RSA_public_decrypt(siglen, sigbuf, decrypted, rsa, |
| 246 | RSA_PKCS1_PADDING)) < 0) { |
Damien Miller | 8668706 | 2014-07-02 15:28:02 +1000 | [diff] [blame] | 247 | ret = SSH_ERR_LIBCRYPTO_ERROR; |
Ben Lindstrom | 0deb5d9 | 2002-08-20 18:40:03 +0000 | [diff] [blame] | 248 | goto done; |
| 249 | } |
Damien Miller | 8668706 | 2014-07-02 15:28:02 +1000 | [diff] [blame] | 250 | if (len < 0 || (size_t)len != hlen + oidlen) { |
| 251 | ret = SSH_ERR_INVALID_FORMAT; |
Ben Lindstrom | 0deb5d9 | 2002-08-20 18:40:03 +0000 | [diff] [blame] | 252 | goto done; |
| 253 | } |
Damien Miller | 4e8285e | 2010-08-03 16:04:03 +1000 | [diff] [blame] | 254 | oidmatch = timingsafe_bcmp(decrypted, oid, oidlen) == 0; |
| 255 | hashmatch = timingsafe_bcmp(decrypted + oidlen, hash, hlen) == 0; |
Damien Miller | 8668706 | 2014-07-02 15:28:02 +1000 | [diff] [blame] | 256 | if (!oidmatch || !hashmatch) { |
| 257 | ret = SSH_ERR_SIGNATURE_INVALID; |
Ben Lindstrom | 0deb5d9 | 2002-08-20 18:40:03 +0000 | [diff] [blame] | 258 | goto done; |
| 259 | } |
Damien Miller | 8668706 | 2014-07-02 15:28:02 +1000 | [diff] [blame] | 260 | ret = 0; |
Ben Lindstrom | 0deb5d9 | 2002-08-20 18:40:03 +0000 | [diff] [blame] | 261 | done: |
Damien Miller | 8668706 | 2014-07-02 15:28:02 +1000 | [diff] [blame] | 262 | if (decrypted) { |
| 263 | explicit_bzero(decrypted, rsasize); |
| 264 | free(decrypted); |
| 265 | } |
Ben Lindstrom | 0deb5d9 | 2002-08-20 18:40:03 +0000 | [diff] [blame] | 266 | return ret; |
| 267 | } |
Damien Miller | 72ef7c1 | 2015-01-15 02:21:31 +1100 | [diff] [blame] | 268 | #endif /* WITH_OPENSSL */ |