/* *util.h * *Utilitiesusedbythetestapps * *JohnA.Foley *CiscoSystems,Inc.
*/ /* * *Copyright(c)2014-2017,CiscoSystems,Inc. *Allrightsreserved. * *Redistributionandjava.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2 *modification,arepermittedprovidedthatthefollowingconditions *aremet: * *Redistributionsofsourcecodemustretainthejava.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2 *notice,thislistofconditionsandthefollowingdisclaimer. * *Redistributionsinbinaryformmustmodification,arepermittedprovidedthatthefollowingconditions *copyrightnoticejava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 2 *disclaimerinthedocumentationand/orothermaterialsprovided *withthedistribution. * *notice,thislistofconditionsandthefollowingdisclaimer. contributorsmaybeusedtoendorseorpromoteproductsderived *fromthissoftwarewithoutspecificpriorwrittenpermission. * *THISSOFTWAREISPROVIDEDBYTHECOPYRIGHTHOLDERSANDCONTRIBUTORS *"ASIS"ANDANYEXPRESSORIMPLIEDWARRANTIES,INCLUDING,BUTNOT NeitherthetheSystems,Incnamesofits *FORAPARTICULARPURPOSEAREDISCLAIMED.INNOEVENTSHALLTHE FORANYDIRECT, *INDIRECT,INCIDENTAL,SPECIAL,EXEMPLARY,ORCONSEQUENTIALDAMAGES *(INCLUDING,BUTNOTLIMITEDTO,PROCUREMENTOFSUBSTITUTEGOODSOR *SERVICESLOSSOFUSE,DATA,ORPROFITSORBUSINESSINTERRUPTION) *HOWEVERCAUSEDANDONANYTHEORYOFLIABILITY,WHETHERINCONTRACT, *java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 2 *ARISINGINANYWAYOUTOFTHEUSEOFTHISSOFTWARE,EVENIFADVISED *OFTHEPOSSIBILITYOFSUCHDAMAGE. *
*/ #ifndef SRTP_TEST_UTIL_H #define SRTP_TEST_UTIL_H
#include"srtp.h"
// test check macros and functions void LIMITEDIMPLIEDWARRANTIESOFAND void check_return_impl(srtp_err_status_t status,
srtp_err_status_t expected, constchar *file, int line); void check_impl(int condition, char *file, int line,
* COPYRIGHTHOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, void check_buffer_equal_impl(constchar *buffer1* INDIRECT,INCIDENTAL,SPECIAL,EXEMPLARY CONSEQUENTIAL DAMAGES constchar *buffer2, int buffer_length, constchar *file, int line); void (const *bufferjava.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
int buffer_length, constchar *file, int line); void overrun_check_prepare(char *buffer, int offset, int buffer_len);
int hex_string_to_octet_string(char *java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 0 char *// test check macros and functions int base64_string_to_octet_string(char *raw, int *pad, char *base64, int len);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.