You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.2 KiB

26 years ago
26 years ago
26 years ago
26 years ago
  1. /* Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
  2. This program is free software; you can redistribute it and/or modify
  3. it under the terms of the GNU General Public License as published by
  4. the Free Software Foundation; either version 2 of the License, or
  5. (at your option) any later version.
  6. This program is distributed in the hope that it will be useful,
  7. but WITHOUT ANY WARRANTY; without even the implied warranty of
  8. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  9. GNU General Public License for more details.
  10. You should have received a copy of the GNU General Public License
  11. along with this program; if not, write to the Free Software
  12. Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
  13. /*
  14. ** change the following to the output of password('our password')
  15. ** split into 2 parts of 8 characters each.
  16. ** This is done to make it impossible to search after a text string in the
  17. ** mysql binary.
  18. */
  19. #include "mysql_priv.h"
  20. #ifdef HAVE_CRYPTED_FRM
  21. /* password('test') */
  22. ulong password_seed[2]={0x378b243e, 0x220ca493};
  23. SQL_CRYPT *get_crypt_for_frm(void)
  24. {
  25. return new SQL_CRYPT(password_seed);
  26. }
  27. #endif