Changeset View
Changeset View
Standalone View
Standalone View
dh.c
/* $OpenBSD: dh.c,v 1.69 2018/11/09 02:56:22 djm Exp $ */ | /* $OpenBSD: dh.c,v 1.71 2019/09/06 06:08:11 djm Exp $ */ | ||||
/* | /* | ||||
* Copyright (c) 2000 Niels Provos. All rights reserved. | * Copyright (c) 2000 Niels Provos. All rights reserved. | ||||
* | * | ||||
* Redistribution and use in source and binary forms, with or without | * Redistribution and use in source and binary forms, with or without | ||||
* modification, are permitted provided that the following conditions | * modification, are permitted provided that the following conditions | ||||
* are met: | * are met: | ||||
* 1. Redistributions of source code must retain the above copyright | * 1. Redistributions of source code must retain the above copyright | ||||
* notice, this list of conditions and the following disclaimer. | * notice, this list of conditions and the following disclaimer. | ||||
Show All 12 Lines | |||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | ||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||||
*/ | */ | ||||
#include "includes.h" | #include "includes.h" | ||||
#ifdef WITH_OPENSSL | #ifdef WITH_OPENSSL | ||||
#include <openssl/bn.h> | |||||
#include <openssl/dh.h> | |||||
#include <errno.h> | #include <errno.h> | ||||
#include <stdarg.h> | #include <stdarg.h> | ||||
#include <stdio.h> | #include <stdio.h> | ||||
#include <stdlib.h> | #include <stdlib.h> | ||||
#include <string.h> | #include <string.h> | ||||
#include <limits.h> | #include <limits.h> | ||||
#include <openssl/bn.h> | |||||
#include <openssl/dh.h> | |||||
#include "dh.h" | #include "dh.h" | ||||
#include "pathnames.h" | #include "pathnames.h" | ||||
#include "log.h" | #include "log.h" | ||||
#include "misc.h" | #include "misc.h" | ||||
#include "ssherr.h" | #include "ssherr.h" | ||||
#include "openbsd-compat/openssl-compat.h" | #include "openbsd-compat/openssl-compat.h" | ||||
▲ Show 20 Lines • Show All 446 Lines • Show Last 20 Lines |