2016-05-17 18:51:04 +00:00
|
|
|
/*
|
|
|
|
* Copyright 1999-2016 The OpenSSL Project Authors. All Rights Reserved.
|
1999-05-13 11:37:32 +00:00
|
|
|
*
|
2016-05-17 18:51:04 +00:00
|
|
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
|
|
|
* this file except in compliance with the License. You can obtain a copy
|
|
|
|
* in the file LICENSE in the source distribution or at
|
|
|
|
* https://www.openssl.org/source/license.html
|
1999-05-13 11:37:32 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include <stdio.h>
|
2015-05-14 14:56:48 +00:00
|
|
|
#include "internal/cryptlib.h"
|
1999-05-13 11:37:32 +00:00
|
|
|
#include "bn_lcl.h"
|
|
|
|
|
|
|
|
bn_div_words_abort(int i)
|
|
|
|
{
|
2000-09-04 15:34:43 +00:00
|
|
|
#ifdef BN_DEBUG
|
2015-01-22 03:40:55 +00:00
|
|
|
# if !defined(OPENSSL_NO_STDIO)
|
|
|
|
fprintf(stderr, "Division would overflow (%d)\n", i);
|
|
|
|
# endif
|
|
|
|
abort();
|
2000-09-04 15:34:43 +00:00
|
|
|
#endif
|
1999-05-13 11:37:32 +00:00
|
|
|
}
|