Avoid creating an illegal pointer
[openssl.git] / crypto / bn / vms-helper.c
1 /*
2  * Copyright 1999-2016 The OpenSSL Project Authors. All Rights Reserved.
3  *
4  * Licensed under the OpenSSL license (the "License").  You may not use
5  * this file except in compliance with the License.  You can obtain a copy
6  * in the file LICENSE in the source distribution or at
7  * https://www.openssl.org/source/license.html
8  */
9
10 #include <stdio.h>
11 #include "internal/cryptlib.h"
12 #include "bn_lcl.h"
13
14 bn_div_words_abort(int i)
15 {
16 #ifdef BN_DEBUG
17 # if !defined(OPENSSL_NO_STDIO)
18     fprintf(stderr, "Division would overflow (%d)\n", i);
19 # endif
20     abort();
21 #endif
22 }