-
Notifications
You must be signed in to change notification settings - Fork 364
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ifapi_profiles.c uses the deprecated index() function #2656
Comments
JuergenReppSIT
added a commit
to JuergenReppSIT/tpm2-tss
that referenced
this issue
Jul 11, 2023
The deprecated index function is replaces by strchr. Fixes: tpm2-software#2656 Signed-off-by: Juergen Repp <juergen_repp@web.de>
JuergenReppSIT
added a commit
to JuergenReppSIT/tpm2-tss
that referenced
this issue
Jul 11, 2023
The deprecated index function is replaced by strchr. Fixes: tpm2-software#2656 Signed-off-by: Juergen Repp <juergen_repp@web.de>
JuergenReppSIT
added a commit
that referenced
this issue
Jul 12, 2023
The deprecated index function is replaced by strchr. Fixes: #2656 Signed-off-by: Juergen Repp <juergen_repp@web.de>
AndreasFuchsTPM
pushed a commit
that referenced
this issue
Jan 30, 2024
The deprecated index function is replaced by strchr. Fixes: #2656 Signed-off-by: Juergen Repp <juergen_repp@web.de>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
tpm2-tss/src/tss2-fapi/ifapi_profiles.c
Lines 258 to 265 in e107c01
This causes problems for me when compiling on a libc that doesn't have
index()
. A simple#define index(...) strchr(__VA_ARGS__)
solved it for me, but it would be nice to not use a deprecated function in the first place when there is a not-deprecated function that does the same thing.The text was updated successfully, but these errors were encountered: