Changeset c269e22
- Timestamp:
- Apr 20, 2003, 4:58:47 PM (21 years ago)
- Branches:
- master, barnowl_perlaim, debian, owl, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- c86a35c
- Parents:
- e51b410
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
ChangeLog
rf87c490 rc269e22 68 68 keypress.c 69 69 do_encrypt declaired static 70 if we don't have des functions, do not try to build in zcrypt 70 71 71 72 1.2.8 -
config.h.in
re51b410 rc269e22 48 48 #undef HAVE_USE_DEFAULT_COLORS 49 49 50 #undef HAVE_DES_STRING_TO_KEY 51 52 #undef HAVE_DES_KEY_SCHED 53 54 #undef HAVE_DES_ECB_ENCRYPT 55 50 56 #undef TERMINFO -
configure
re51b410 rc269e22 1380 1380 1381 1381 1382 for ac_func in use_default_colors 1382 for ac_func in use_default_colors des_string_to_key des_key_sched des_ecb_encrypt 1383 1383 do 1384 1384 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 … … 1436 1436 1437 1437 1438 1439 1438 echo $ac_n "checking for des_ecb_encrypt prototype""... $ac_c" 1>&6 1440 echo "configure:144 1: checking for des_ecb_encrypt prototype" >&51439 echo "configure:1440: checking for des_ecb_encrypt prototype" >&5 1441 1440 cat > conftest.$ac_ext <<EOF 1442 #line 144 3"configure"1441 #line 1442 "configure" 1443 1442 #include "confdefs.h" 1444 1443 #include <des.h> … … 1448 1447 ; return 0; } 1449 1448 EOF 1450 if { (eval echo configure:145 1: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1449 if { (eval echo configure:1450: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1451 1450 rm -rf conftest* 1452 1451 ac_cv_des_ecb_encrypt_proto=no … … 1465 1464 1466 1465 fi 1466 1467 1467 1468 1468 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 … … 1804 1804 1805 1805 fi 1806 1807 1806 1808 1807 … … 1840 1839 # ./install, which can be erroneously created by make from ./install.sh. 1841 1840 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 1842 echo "configure:184 3: checking for a BSD compatible install" >&51841 echo "configure:1842: checking for a BSD compatible install" >&5 1843 1842 if test -z "$INSTALL"; then 1844 1843 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then -
configure.in
re51b410 rc269e22 43 43 AC_CHECK_LIB(zephyr, ZInitLocationInfo, AC_DEFINE([HAVE_LIBZEPHYR_ZINITLOCATIONINFO], [], [Have ZInitLocationInfo]),) 44 44 45 AC_CHECK_FUNCS(use_default_colors) 46 45 AC_CHECK_FUNCS(use_default_colors des_string_to_key des_key_sched des_ecb_encrypt) 47 46 48 47 AC_MSG_CHECKING(for des_ecb_encrypt prototype) … … 56 55 AC_DEFINE([HAVE_DES_ECB_ENCRYPT_PROTO], [], [have proto for des_ecb_encrypt]) 57 56 fi 57 58 58 59 59 dnl Checks for header files. -
message.c
recd5dc5 rc269e22 428 428 void owl_message_create_from_znotice(owl_message *m, ZNotice_t *n) { 429 429 struct hostent *hent; 430 int k , ret;430 int k; 431 431 char *ptr, *tmp, *tmp2; 432 432 … … 478 478 owl_free(tmp); 479 479 480 #ifdef OWL_HAVE_DES 480 481 /* if zcrypt is enabled try to decrypt the message */ 481 482 if (owl_global_is_zcrypt(&g) && !strcasecmp(n->z_opcode, "crypt")) { 482 483 char *out; 484 int ret; 483 485 484 486 out=owl_malloc(strlen(owl_message_get_body(m))*16+20); … … 490 492 } 491 493 } 494 #endif 492 495 493 496 /* save the hostname */ -
owl.h
rf87c490 rc269e22 111 111 112 112 #define OWL_CMD_ALIAS_SUMMARY_PREFIX "command alias to: " 113 114 #if defined(HAVE_DES_STRING_TO_KEY) && defined(HAVE_DES_KEY_SCHED) && defined(HAVE_DES_ECB_ENCRYPT) 115 #define OWL_HAVE_DES 1 116 #endif 113 117 114 118 #define OWL_META(key) ((key)|0200) -
zcrypt.c
rf87c490 rc269e22 17 17 #include <sys/wait.h> 18 18 #include "owl.h" 19 20 #ifdef OWL_HAVE_DES 19 21 20 22 #define BASE_CODE 70 … … 691 693 return(0); 692 694 } 695 696 #endif
Note: See TracChangeset
for help on using the changeset viewer.