X-Git-Url: https://git.openssl.org/?a=blobdiff_plain;f=apps%2Fapps.h;fp=apps%2Fapps.h;h=272b967d18a08556f0ef0972e4d2099355095c8f;hb=39556e63ef6c079d144b07d7f492152abf9efe77;hp=a740ad4599a745c1ea562fa041c7ffd3ad6c395e;hpb=3cb413da197c26c4520cbf08e5d4542637a90a4e;p=openssl.git diff --git a/apps/apps.h b/apps/apps.h index a740ad4599..272b967d18 100644 --- a/apps/apps.h +++ b/apps/apps.h @@ -1,5 +1,5 @@ /* - * Copyright 1995-2017 The OpenSSL Project Authors. All Rights Reserved. + * Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the OpenSSL license (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy @@ -48,6 +48,14 @@ extern const unsigned char tls13_aes128gcmsha256_id[]; extern const unsigned char tls13_aes256gcmsha384_id[]; extern BIO_ADDR *ourpeer; +BIO_METHOD *apps_bf_prefix(void); +/* + * The control used to set the prefix with BIO_ctrl() + * We make it high enough so the chance of ever clashing with the BIO library + * remains unlikely for the foreseeable future and beyond. + */ +#define PREFIX_CTRL_SET_PREFIX (1 << 15) + BIO *dup_bio_in(int format); BIO *dup_bio_out(int format); BIO *dup_bio_err(int format);