--- rpl/src/instructions_c8.c 2013/02/27 15:44:15 1.4 +++ rpl/src/instructions_c8.c 2013/02/27 17:11:41 1.6 @@ -1,6 +1,6 @@ /* ================================================================================ - RPL/2 (R) version 4.1.12 + RPL/2 (R) version 4.1.13 Copyright (C) 1989-2013 Dr. BERTRAND Joël This file is part of RPL/2. @@ -1755,16 +1755,13 @@ instruction_cipher(struct_processus *s_e return; } - if (((*(*l_element_courant).donnee).objet = malloc( - (strlen(algorithme_chiffrement) + 1) * sizeof(unsigned char))) - == NULL) + if (((*(*l_element_courant).donnee).objet = + conversion_majuscule(algorithme_chiffrement)) == NULL) { (*s_etat_processus).erreur_systeme = d_es_allocation_memoire; return; } - strcpy((*(*l_element_courant).donnee).objet, algorithme_chiffrement); - // Clef if (((*l_element_courant).suivant = allocation_maillon(