1*a8d85e88Sbluhm /* $OpenBSD: util.h,v 1.3 2018/11/09 06:30:41 bluhm Exp $ */ 29231079cSbluhm /* 39231079cSbluhm * Copyright (c) 2018 Alexander Bluhm <bluhm@openbsd.org> 49231079cSbluhm * 59231079cSbluhm * Permission to use, copy, modify, and distribute this software for any 69231079cSbluhm * purpose with or without fee is hereby granted, provided that the above 79231079cSbluhm * copyright notice and this permission notice appear in all copies. 89231079cSbluhm * 99231079cSbluhm * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 109231079cSbluhm * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 119231079cSbluhm * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 129231079cSbluhm * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 139231079cSbluhm * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 149231079cSbluhm * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 159231079cSbluhm * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 169231079cSbluhm */ 179231079cSbluhm 1822303e31Sbluhm void print_version(void); 199231079cSbluhm void print_ciphers(STACK_OF(SSL_CIPHER) *); 209231079cSbluhm void print_sockname(BIO *); 219231079cSbluhm void print_peername(BIO *); 229231079cSbluhm void err_ssl(int, const char *, ...); 23*a8d85e88Sbluhm int verify_callback(int, X509_STORE_CTX *); 24