Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
5f25a911
Commit
5f25a911
authored
Oct 16, 2022
by
Brad Smith
Committed by
GitHub
Oct 16, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup the alloca.h header handling to further reduce hardcoded OS lists (#2289)
parent
e0b4db5b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
include/mysql/service_encryption.h
include/mysql/service_encryption.h
+3
-2
plugin/cracklib_password_check/cracklib_password_check.c
plugin/cracklib_password_check/cracklib_password_check.c
+1
-1
No files found.
include/mysql/service_encryption.h
View file @
5f25a911
...
@@ -34,12 +34,13 @@ extern "C" {
...
@@ -34,12 +34,13 @@ extern "C" {
#ifndef __cplusplus
#ifndef __cplusplus
#define inline __inline
#define inline __inline
#endif
#endif
#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
#include <stdlib.h>
#else
#else
#include <stdlib.h>
#ifdef HAVE_ALLOCA_H
#include <alloca.h>
#include <alloca.h>
#endif
#endif
#endif
#endif
#endif
/* returned from encryption_key_get_latest_version() */
/* returned from encryption_key_get_latest_version() */
#define ENCRYPTION_KEY_VERSION_INVALID (~(unsigned int)0)
#define ENCRYPTION_KEY_VERSION_INVALID (~(unsigned int)0)
...
...
plugin/cracklib_password_check/cracklib_password_check.c
View file @
5f25a911
...
@@ -13,10 +13,10 @@
...
@@ -13,10 +13,10 @@
along with this program; if not, write to the Free Software
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1335 USA */
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1335 USA */
#include <my_global.h>
#include <mysql/plugin_password_validation.h>
#include <mysql/plugin_password_validation.h>
#include <crack.h>
#include <crack.h>
#include <string.h>
#include <string.h>
#include <alloca.h>
#include <mysqld_error.h>
#include <mysqld_error.h>
static
char
*
dictionary
;
static
char
*
dictionary
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment